package org.com.behavioralPattern.templateMethodPattern;

/**
 * 定期
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/15 16:55
 */
public class FixedAccount extends Account {
    @Override
    protected String getAccountType() {
        return "一年定期";
    }

    @Override
    protected double getInterestRate() {
        return 0.0325D;
    }
}
